package weifei.wx.community.entity.dto;


import lombok.Data;
import weifei.wx.community.entity.TieCommentReplyNotice;

@Data
public class TieCommentReplyNoticeDTO
{
    private Long id;
    private TieCommentDTO tieCommentDTO;
    private TieCommentReplyDTO tieCommentReplyDTO;

    public TieCommentReplyNoticeDTO(
            TieCommentReplyNotice notice,
            TieCommentDTO tieDTO,
            TieCommentReplyDTO tieCommentDTO
        )
    {
        this.id = notice.getId();
        this.tieCommentDTO = tieDTO;
        this.tieCommentReplyDTO = tieCommentDTO;
    }

    public TieCommentReplyNoticeDTO(
            Long id,
            TieCommentDTO tieDTO,
            TieCommentReplyDTO tieCommentDTO
        )
    {
        this.id = id;
        this.tieCommentDTO = tieDTO;
        this.tieCommentReplyDTO = tieCommentDTO;
    }
}


